package org.example.src.service;

import org.example.src.dto.request.JobPostRequest;
import org.example.src.dto.response.JobPostResponse;
import org.example.src.entity.JobPost;

import java.util.List;

public interface JobPostService {
    List<JobPost> findAllJobPosts();
    JobPost findJobPostById(Long id);
    JobPost createJobPost(JobPostRequest request);
    JobPost updateJobPost(Long id, JobPostRequest request);
    void deleteJobPost(Long id);
    List<JobPost> findJobPostsByCompanyId(Long companyId);
    List<JobPost> findActiveJobPosts();
    List<JobPost> searchJobPosts(String keyword);
    List<JobPost> findActiveJobsFromApprovedCompanies();
    List<JobPostResponse> getActiveJobPosts();
}
